package src.java11;

import java.util.function.Consumer;

/**
 * @author zhikang.shu
 * @date 2021/3/12
 * @desc TODO add description in here
 */
public class TestVar {
    public static void main(String[] args) {

//        Consumer<String> consumer = t -> System.out.println(t.toUpperCase());
//        consumer.accept("ShuZHIkang balalalaAAA");
//
//        consumer = (var t) -> System.out.println(t.toUpperCase());
//        consumer.accept("aBcDedGdgaDg AGaghhaAHha");
//
//        consumer = (@Deprecated var t) ->System.out.println(t.toUpperCase());
//        consumer.accept("aBcDedGdgaDg AGaghhaAHha");
    }
}
